<template>
    <div>
        <div class="header" style="background-color: white">
            <el-page-header @back="goBack" content="用户界面">
            </el-page-header>
        </div>
        <el-divider></el-divider>
        <el-tabs v-model="activeName" type="card">
            <el-tab-pane label="用户管理" name="user">
                <System_user></System_user>
            </el-tab-pane>
            <el-tab-pane label="角色管理" name="role">
                <System_role></System_role>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>

    import System_user from './System_user'
    import System_role from './System_role'
    export default {
        name: "System_userOrSystem_Role",
        components: {
            System_user,
            System_role,
        },
        data(){
            return {
                activeName:'user'
            }
        },
        methods:{
            goBack(){
                history.back()
            }
        }
    }
</script>

<style scoped>

</style>
